Added Repository function for getting all children