created server class copied over and modified some of multithread code.
Merge pull request #1 from camensah/server_Branch

created server class copied over and modified some of multithread code.