More work on the graphics and the camera api.
Refactoring on the sample browser started.