Refactored to create class ServerThread
Updated Makefile