pass offer/answer and separate processbuilder into separate class