Converted everything to work as a node module.
Moved nodemon to parent app, and modified gitignore to make sense with the new setup.
Removed npm scripts, as it no longer makes sense to run cornerstone directly.