Exercise

Addition of the exercise generation system.
Make another utility function to handle all these catches. I'm already thinking for at least in dev mode that putting the stack would be helpful, or at least the description, but that will be hard if we have to change it everywhere.