Modules shouldn't be executable.
Extracted evaluation into a separate module.
Extracted user input processing into a separate module.