add models and migrated database
model stuff complete