add sphinx api
add autosave plugin for editor