init tree
insert into code mirror
Merge branch 'template'