how to add class communication

how to add class communication