Added defualt to template files and template dir
moved initialize into construct