Made the basic menu handling