Refactored select_template.
Refactored select_template.

gkleiman/typus_3dglabs,brainsome-de/typus,readyfor/typus,typus/typus,burn-notice/typus,wollzelle/typus,readyfor/typus,chiragshah/typus,typus/typus,burn-notice/typus,wollzelle/typus,baban/typus,baban/typus,wollzelle/typus,baban/typus,readyfor/typus,brainsome-de/typus,oruen/typus,chiragshah/typus,gkleiman/typus_3dglabs,chiragshah/typus,thirdthing/typus,thirdthing/typus,burn-notice/typus,brainsome-de/typus,readyfor/typus,baban/typus,thirdthing/typus,typus/typus,chiragshah/typus,oruen/typus,wollzelle/typus,brainsome-de/typus,thirdthing/typus,typus/typus,burn-notice/typus