To be rebased - finished API docs
Finished user docs for template registration