reorganization less files
add template glue