The chemistry of ketone resins and the synthesis of a derivative with increased stability and flexibility