Towards Cloud-based Vehicular Cyber-physical Systems