fixed some stuff with models as per our meeting today. Fixed database.yml please dont change this file. Ran first migration.