Adds peers connections handling  code draft