router with menu implementation