Reorganize gem file, add pg gem for production.