Added Link object and typecasted it within Repository

Change-Id: Ie621259973fd1f7fd37d5fc11db0cc9f556b643a