Add entrance func And Makefile