maj makefile
make server works
move FuncWrapper to top