Fix package import for cdmr.
Add variable-length integer parsing.

With test.