1) setup logging
2) write to separate warc files for different domains
3) fixed small bugs