main() for mapper
translation table related options
simplified reducer logic wrt io
implement most of io functions
io tests for sources