Sets up directory structure