setting up directory tree