Refactoring, bootstrap data via socket.io

Added a license file (MIT license) and added some license comments to the main JavaScript.

Added an AJAX loading screen for when loading takes a while.

The server no longer starts automatically from the server module, and instead exports a start() function