Added DBConnectionFactory for Lab code.