update to version 0.3.1
Changes:
new API provides functions handle, on_get, on_set, on_del, after, before
minor refactorings