added a lighting source and header

changed a few names across all source files.  will move lighting
functions to separate file