Provice access to raw data for types.
Introduce jsapi to deal with the JavaScript objects.
Removed v0 and related code.