added templates for dataresource, renderedlayer, and style
working API