Rebuilt most of Link and LinkGenerator classes (some serious problems found)
The new recursive link generation is now building links and sublinks properly