Changed how peers are added and removed in order to make it easier to hook into an api