add pg gem.
* and GET, POST sample of REST api.