updated constructor
finished getUrls() and began getLinks()