Updated documentation

Added info on the templates and their i/o