added getopt (optional separator, configfile and verbose flag) and Reader interface