add C main file