Adding OverlayNetwork code