Add get_host_details and list_hosts