Created new abstract classes to implement the DetectorGeometry and DetectorLayer interfaces.