rewrite of database server
Merge branch 'master' of https://github.com/GuardianInteractive/weight-watch