Create submenus using shell functions()

Signed-off-by: rachit-rc <rachit.rc.rawat@gmail.com>