add LmlToolInterface;

add LmlToolInterface; fix refineCode method;