Refactor sail & event handler to SageProxy