Creating menu modules to abstract the menu creation from template.