Adding calculator class