Initial client code.
fixing multiplexing so that both the front-end/back-end can run on the same port