Prepare directory structure for qc