implemented some oersistence methods for neo4j rest