Reduced uneccesary code. Added Krypton library for lighting.