templates wip - some tests.
more decisions implemented.
Add LZ4 library to avoid annoying warning.
More tests.