refactored link to work more as a link and less like a stream
added stream pool to work with new link structure