delete no useful function and move class

delete no useful function and move class