Add an interrupt default handler and stuff

Doc is coming but the code rocks, maybe I will get more time to adapt it
to C++.