Trim Some Useless code

Trim some useless code and Modify cwl file’s loading method!