modify lserver.c, add Makefile and .gitignore