Removed dummy test case.
Fixed bugs in GameLooper.
Continued on Game class.
Re-factored main.js.