add pg gem and config