Refactor read_block
Implement Reader of the variable length integer.
get rid of the flags structure;
Decoder partialy implemented
Rewrite block header parser with bit masks