Refactoring. Move menu in external file.