added static implementation of menu in mainbackend class