refactor
refactor. allow override of views in template