Construct directory structure