refactor so that template names are auto generated based on view names