Made DeltaCode a template to enable type checking safety.
Added first DeltaCoder unit test.