Changed "interrupts" into special functions. Added registers.

(Real interrupts may be added later but not anytime soon).
The code is not tested at all so it needs heavy testing