Fixed issue #11. Added support for changing the connection pool