Integration of find_devices in the main file.