support nested submappers
add test and documentation
Merge pull request #12 from mla/master

support nested submappers v2