Add base template for extension
Add comment folding