Add CarlaThread class