Added Input class and removed input functionality from Renderer.