Feature/client (WriteEventHandler added)