added like model, migration

updated routes
updated database.sample to database.yml
added like model, migration