CMS-3365 Create generic module resource lookup. Added key classes.