A library applying the nested set model