DONE - check the parameters and return types (should be const ref)
DONE - implement connection pooling with PgBouncer