(refactor) Modularizes processing of articles