CMS-3341 Implement generic module source access. Added some more classes.