Integrated bitfield into peer. Also added a put function into bitfield.