Added some abstraction in the Memorycontrol-class.

Added Interruptionhandler