created Outcome and OutcomeFactory plus unit tests and api-docs