Updated db.js in clockApp to use latest version. WIP functions for converting theme controlPOints to json objects rather than strings