added pg gem and rails_12factor
merge index issues