Move db connection to its own file
Add nock for testing
Translate Gruntfile to Coffeescript
Configure server test to run as a watch script