Added movement with arrow keys, update func

Also improved inputs module