separate template to another module