Clean up unnecessary directories and resources