Refactor code from main.js to MainLevel module.
Merge branch 'master' of https://github.com/isaach1000/canvas