Math stuff can come from an external source now.
So this commit introduces the ability to add events to a plan and agressively cleans math stuff in the given plans.
This "simple script" is becoming quite a beast, I'm really looking forward to see how we can basically forget everything here next year and redo it (probably).