Either changed to tuple matching
Added Result

type Result a == Either<NSError, a>