Renamed deviceID field to device_id
Fixed PEP8 issue
Removed duplicate field from Device model