changes of code for neo4j module, ready for model integration