Added base join link generation to make it simpler.  It is not as robust as it needs to be at this point but it is a good place to start.