Spawned Window class from Renderer since Renderer was doing two jobs