moved all settings to a settings file and added a default settings example. fixed delete API.