Add support for sub-resources
Merge pull request #13 from rs/sub-resource-support

Add support for sub-resources