Move native code into src/