make the codomain of the FreydCategory functor a parameter rather than a field