Extract classes from PrimeFactorsApiEndpoint. Smelling duplication with FormEndpoint!
Merged the two API results