Refactored the project

- split the game.js in multiple files
- moved the libraries under /lib
- changed setInterval to requestAnimFrame