add basic API to set, get and delete variables