Move Hosts class into hostsd module
modularize