Implemented framework for lighting.