clean code
updated version
minify
fixed template repository