move InitWindow to be a method on Renderer
move InitDevice to be a method on Renderer