restructuring and start default template