Add various logging messages with the Host attached.
Resolve functions were moved into their own module.
Log around the primary resolve function.