add Add and remove function for reactions in medium and in ReactionEngine