created SplitCalculator class