moving templates so they can be local to the view
Widget can now use templating