implemented basic reference link structure. This needs to be made more generic (a role)