add main function and makefile