Change copy rule to output rule with layout
Define clean and clean_output_files tasks