Update to handle creation of multiple CCDs

-Changed from using a class variable for the root element to using an
object so that multiple CCDs can be created