Text this: A Two-Level Model for Traffic Signal Timing and Trajectories Planning of Multiple CAVs in a Random Environment