add calculator class with add