manages database connection to neo4j