First attempt at porting Sodium to C3
Added unittests - not passing yet