Added helper functions getLink, getScreen, getCurrentLink and getCurrentScreen