remove useless files and add function into Motors