build communication class