Updated SamplePortal files involving the template xsd and added some xml comments for public methods.