create base directory