new class: Client and interface ClientHandler for callbacks