Encapsulated Calculator

html variables added