New api for main menu entries and new error views