initial commit of main.c