Added CrystalObject class