creates directory structure