Providing connection pool and easy query tools for postgresql