Added NDK capability. Started to migrate functionality to C++.