organized the bencode class