Added ability to add module immediately in system avoid registration loop (at the same step)
Refactoring, optimizations, bug-fixes