Add logging to class Host.
Include unit tests for class Host.