set up directory structure and node