changed db.js to use prototype and set up test route for check function
Merge branch 'master' of https://github.com/bengesoff/stroma

Accidentally made changes online, wrong place.