Fleshed out the thread task class
Changed the TCP server to extend from thread task