add status field to Host
test for host status and refactoring host view