Working version with cpp native code
Merge branch 'NDKTest'
Added native code support and modularized the cpp code