Moved the creation of list of submodule inside the mainPannel controler.