add license
new template system