refactor FractionProblem, started util package