Implemented metadata, crc, part of frame and bitreader.