added class for BEncoding support