strip out help menu logic into its own module.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>