make base directories