add the main c file