Added input

Exiting game through esc works, but I wasn't sure where to define downPressed etc so they don't work yet.