Model refinement

Finished validation and other such things. Added the three levels of course information.