[PATCH 0/9] pakfire: remove dup. code + seperate ui/logic