Added Client classes, updated AICore and ai.Result