added rails 12 factor gem and configured config files.