A simple shutdown manager because i couldn't find anything online :)
I'm not quite happy with the structure of the class this far, if anyone comes up with a better one I'm eager to see it :)
But meh, it works :D