clean code for command and rename main.c

jjjj
rename file to fit for autotest
remove some file