Initialize the directory structure