add signal/slot template
adjust peermanager classes