Finished preliminary resonance under nucleophile

Also loly added an include guard