Updated peer creation

Creating peers together with proxies
Creating peers for abstract classes