created interface for database connection pool