Setting up ground for DeltaEncoder

Setting up ground for DeltaEncoder. Initial class like AdaptiveScalarEncoder and its tests.