initial push, main.c which implemented basic buildin feature