Updates all separate modules to use lambda functions + map/filter whenever appropriate.