create encoder manager

move encoder management out of streamserver class