Replaced custom db code with node-orm2 in index.js - much better.

Fleshing out CRUD should be a hell of a lot quicker now.