Create CMSclasses.php

Contains the methods and classes required for basic CMS operations