major api refactoring
delete ext folder
Merge master