Refactor

Add get_controller_data_v1() and get_host_data_v1() methods for
Controller class and use them from API_controllers and API_hosts