Added shaed connection pooling and config passing between modules