Moving to OOP: added classes for actions (casting, punching, testing), text UI (menu, file name autocompletion), and a class for setting up sessions run in console. Will add a class for parsers too. Fortunately, everything seems to work