refactor init, config, cffi , cursor wrap impl started
refactor init, config, cffi , cursor wrap impl started
update