Add code for loading ancestors
Add scripts for generating numbers