Added BEncode class