Many changes in Lambda API, reorganized folder layout