All common code is moved to the peer class. Handle operation callbacks functionally