Expose C++ functions and classes into V8 JavaScript engine