paperclip, database, controller and more

did some work on the gems and controlllers and db and migrations