few changes in peer, added directory