created contest model
added config/database.yml