Refactoring of RubyWorker to accomodate the new data model alterations