add transaction to DeviceTypeDaoImplementation, implement SensorController