removed dependency on neo4j classes for remote case