work started in class.cms.php..