update all of salt to use the local client factory function
Use get_event in the api module