Encapsulated Calculator Additions

page properties added (head, body, end)
format property, function added