[REORG NEW FUNC] restructure dirs and adding Each

we now support a real Each function as well as
have a Map function which returns values as it should

we also now have a more standard dir structure and layout.

more test coverage needed on the each and map