Support for resource models
Updated readme