First step to refactor WBImages into WBResources to handle generic/any type of resources