Feature/api get children change

This pull request implements issue #13 . More documentation is needed in the readme but there is a test.