NCT-84: impl of DeviceSettings factory with tests

@imosquera