stable state. added templates (dir /tpl)