fix a bug
1. Add multithread support
2. make ie core working on different thread
3, Add task support
4, add Singleton