Adding LinServer.cpp from another project. Will need to be cleaned up but is a good starting point