Don't construct yum and rpm commands in classes, but dynamically in methods. This way devassistant will also be able to run on platforms that don't have these