implemented zap
redirect io to file
cleanup logging