This commit moves the output structs to a new package as a preparation for moving more logic into that package.