mapper: started integrating reader as nested class