Created ServerThread and ServerThreadTest classes.