decoupling Cork\Resource\Catalogue from Cork\Resource\Locator by injecting instances of \Cork\Config\Locator and \Cork\Config\Loader instead; preventing registering same resource twice by using an instance of \Cork\Framework\Helper\Yaml to check for registered resources on target directory