Cleaned up imports.
Satisfied with lighting and vision clipping.

Also separated helper functions into separate module.