Model refinement

Added validation, and the three levels of course information.