Organize methods position

new class struture in TemplateClass.js
removed comment except AbstractHandler