German police have prevented a massive terrorist attack