Move skybox/lights code out of render.cpp