split mapper, reducer into separate files
adapt for new api
create readme