Move calculation input Pad logic to c++
With more feature added, we've relied on js too much. Some workaround is a bit hacky. Add a new class called "ExpressionManager" that accepts keyboard/inputPad input, display the result. Integrating with math engine and history manager.