Added db connection pooling

Added db connection pooling