changed format of the data to allow unlimited number of links, minor UI changes