Modified migrations to provide support for postgresql
Restructrued gemfile