Removed get_interfaces function and replaced functionality with the serial.tools.list_ports.comports() function