added map method

Just putting this up to gauge interest. 

If there is interested I will clean add tests etc too