ported all the code to the new structure wiki_node