moved lights into entities
Removed useless code and added visibility constraints to class variables
Refactored some code for moving entities
Fixed bug where a fast moving body shadows its own light