Added comments to database connection manager