extract the lighting into a class