Closes #10 Separate database from the main.js
Merge pull request #11 from erikvold/10

Closes #10 Separate database from the main.js and introduces crazy new javascript syntax.