Added template.docs file for generation docblock tags.

Modified the functions.template to be cleanier.

The functions.template still needs work to be exact.