Make the id field the ultimate key in the database

remove all references to the url field for connecting the data together