Executable refactored. Menu class added.