add 12 factor gem and fix production.rb file