Added method to ResourceFactory to build a more specific Resource

Added method to ResourceFactory to build a more specific Resource