Add p2p server and compelete virtual application layer.