moving native and using maven to build it