modrepo redesign

- use callback when module is loaded
- master object and a list of entries internally