add record reader, writer; update maptask