Refactoring of mobs.

These changes refactor the mobs into a separate file. They also introduce a ruby script to collect the JavaScript files into one file for deployment. Lastly, a unit testing page has been added. As refactoring continues to break the project into functional units, we can add tests there to make sure we don't break program logic.