Remove unnecessary directories and files