Added postgres connection class

* resolved relative folders