Refactorings in SnookerCalculator