Create basedirectories