shotop: extracts argument validator and formatter classes