first commet; add main.c and build code for it