Refactor behat job loader