Refactored out menu functions to services (might fit too well there but they are avaliable).