Revise directories and remove unnecessary files