make the main menu pluggable