make API stateless, remove FeynDiagram.currentDiagram, fix examples