added a simple scene graph and basic context support
Fixed request and altered geometry so that indices are created on the fly depending on whether vertex objects are shared