added missing require (misc)
Client now uses events