refactor: split transcoder class into transcoder and overlayworker classes