some TODOs and new code

added some template gen code
added todos for possibly new visitors