player input

event handling and player movement