add multiple output formats and batch file input

this adds multiple output formats (dns, json, csv) and batch file input.