Started input handling

Keyboard movement, started tracking mouse events and touches.