Schema.sql now working to initialize database.
Tweaks to dashboard API to fix promises.
Simplified database with q.nfcall.