Creating new class DebugInfo for realtime debugging of modules.
Also, refactored general design of classes.