refactoring module registration in readerui

now every module can be looked up in readerui so that
unit test of these modules is possible.