remove main_com dir
some source reformat