Support for binary 0.5
Remove CPP

There's no point in using Generics if we're going to write instance by
hand anyway. There shouldn't be any change in data format
Add tests for binary