Refactor: begin split of input/output handling from FreedomRegistry.rb to controller.