moved the rest of the rendering code to renderer. added snow to .gitignore