Initial commit of main.c