Created calculator model with add method