host: rework for easier maintence

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>