Story1

Please merge this feature.
Globals are evil. We need to find a way to get rid of this. I will think about something until tomorrow.