Removed console.log call
Moved all rendering to renderer object