moved to thread controller
started implementing thread templating
enhanced thread templating