added hosts view and controller