refactoring
add exporter for any pointer
(smart pointers are not supported now, this will be fixed in future)
any C++ objects are exportable as primitive type