Refactored Switchboard to be nice and tidy with lots of seperate classes. Added logs methods to CLI client. Everything working. Need to add tests now