initial commit for ndk functionality