add requirejs template loader
move templates in separate files