added input.js and working on adding input support to the game.