Move to std::thread for server

also UserList is now on Stack instead of on Heap
Makefile Improvments

add debug oprion