Creates the node directory in storage nodes
Tiny code reorganization