First working version. Add minimal DNF generating