restructure
added programm to gen mpqs