added decks model as well as changed the model relattionships, changed db to postgres