Merge pull request #28 from mdmoss/master

Database complete
Fix missing import and json responses
Merge pull request #29 from cmanou/master

Missing imports