Using a class structure for calculator_finance.