Refactor, doc and implement children from :dirs vector