added getNodes... functions to neo4j