adding server handler, and fight listener