Implemented mapReader

Hope it works... Waiting for generator and Encoder to find out.