insert methods added for database
Merge branch 'master' of https://github.com/ucam-cl-dtg/urop-2014-ticking-ui