Refactor config and plugin YML files to resources package.