Add comments on code generator
Add comments on main templates