native bindings | refactor of CoreApi