Divise the file `device_proxy.py` in differents files in rapport with classes.