Created superclass for server. TODO figure out how to keep server running with client for more than an instance.