Included way to add additional variables to the context
Allowing functions to be added to the context; removed unnecessary views