extract commont binary extraaction func, closes #513
remove list iteration
Merge pull request #526 from modilabs/get-children-517

Get children 517