finished implementation of PromiseMap, integrated it with Promises static helper