A true Object-Oriented framework and CMS