add main menu module
update main menu creating based on configuration file