An educational framework for Network Based Control Systems