Refactoring of generator/defgen

Abstracted the leaf function

Abstracted the tl_typedef() generator

Integrated use of the indent class

Abstracted the guard function

Abstracted tl_prototype function

tl_head() now generates include directives for c files

Constants and functions now abstracted