Updates curve package and unit tests.
Removes obsolete source file.
Update codec test cases.