moved the window variable as a constant in the window module, and implement more of GLFW logic, including some basic input handling.