Added a wrapper class for arithmetic parser