reorganize and clean-up

Remove redundant converter_base class, add safer command_line handling class instead of passing argc/argv around everywhere.