Initial commit with Lambda main
Some errors in foreach template