first step to change structure to a node module