initialize directory structure