class DeviceConfig added
log_path parameter added
The whole thing