Smart Interaction - Pedestrians and vehicles in a CAV environment