Updated code to reflect change in db schema
Removed temporary file.
Merge pull request #36 from RuddockHouse/db_changes

Updated code to reflect change in db schema