Added a menu to select client or server mode. Subclasses were put into
their own class in a different package. Added an option to quit.