Educational Framework For Teaching Of Cyber-Physical Systems Engineering