added postgresql module
removed tests dir