convert cmdparser-class into a class which contains some static helper functions (we can do much more than just commandparsing, i.e. zonescan etc.).