Implemented DeviceType and SensorType models