update controller
add routes
switch to pg for heroku
update gemfile
un-heroku-fying this