Challenges and Opportunities for Cyber Physical Systems