added pg gem and setting for db