Beginning of refactor for a proper scene graph with instancing and transforms.
Implemented an importance sampling technique for large numbers of light sources.