#242: added a resources property to the Resource class in order to more ...

...easily support a resource having embedded or nested resources