Added cms and functionality to restorations