removed unused cypher code and split neo4j cypher functions between index and cypher