Added input.js
Made the player movable
Reorganized drawing code