changes for heroku

add pg adapter
rearrange bundle, add gems for heroku
change find_by method call, fix pg error