add profile and type links to Link

Add type and profile properties to Links. Part 1 of issue #74.