A computer-based laboratory for automation in school systems