support to

- auto complete
- context load
- history
added some new features to lib API