prepare separation of elm registration from menu creation