Decompose Calculator class