Moves agenda execution logic from irondemo.pl to Irondemo.pm