added topbar, generate menu from $state

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>