Added rudimentary mouse and keyboard input