Using neo4j in a custom database connection