moved linkExtractor to modules to signify it as a server script