Doc strings update.
* Built-in string.Template used for templating.
* Introduced Resource() namedtuple for clarity of resource definition.