Added Stream and factory for it. Added outcomes to Device. Added mocks and tests for them