lib: internal: worker: packages: refactoring: dpkg-invoking code now has its own class