Implemented single-pool lazy connection. Closes #20.