Code cleanup , added listLinks() method mapping