Moved renderer to separate class.
Simplified the touch to rotation code.
Added a debug mode (indended for a 2D view).