Map and filter module

Map and filter module, with unit tests.