Adding links

Also added a ‘parent’ property to menus.
This simplified the ‘get’ function.