Fixed bug where db was not being properly passed around. Changed db exporting to use module.exports instead of express.get
Merge pull request #27 from gnauhnoj/bug/fixDBExport

Fixed bug where db was not being properly passed around. Changed db expo...