added beginning of static library of templates, and todos for it