Added Shadow class and coordinate conversion