Added CLASS_NAMEs
Better parameter checking
New dist files