new commit with mediator and control modules
Command loop now working between client and server