Encodes or decodes two files from the command line;
feel free to delete this method (in fact you probably should)
if you're embedding this code into a larger program.
This interface is used by client program to define the communication interface
that ConnectionHandler uses to pass messages received from server to Lobby and
to GameControllers started from the lobby.