added util functions to capitalize input
updated references in the template to use global vars proj and ctor
removed extra reference to Model