Added method to ResourceFactory to build a more specific Resource
Added tests for ResourceFactory, to ensure it produces a more specific valid Config Resource
[#3] CS fixes

- trailing whitespace
Merge branch 'feature/general-resource-factory-method'

Close #3