move templates and fix source root