Add Adapter between activity and calc, InputData

To make separation between logic and ui, and improve testability,
the Adapter class was added.
Bug fixes and refactoring

Adopt exp4j lib for the culcuration.
fixing ui, logic bugs.