Fixing log listeners
Adding connection pooling