ensure directories and clean up initial docs