Added a stream class for use with the logging module.
Moved the Humbug client into its own file.

That way intra-package functions can import it.