Added debug_menu class for creating debug user interface