add main.c file