Figured out how to do template helper function

Made a template helper this allowed me to use a function in the
template.
Also created new views and templates for the point lights and views.