added links

updated JLib and added link objects/mode
link order works

Order in which links should be made is now working.