ADD:add handler for handling statement and remove handle* approaches
ADD:add handler interface and implementation of handler for client and server