Fleshed out client class a bit, adding in a basic ping system, created a common class for the client and hub
and moved some functions out of hub into various wizardry sections. Haven't tested,
nothing probably works!