Cleaned up some bin obj and libs folders and make some changes in the native code