adding Register and menuItem classes