Add a callback function onInitEnded to ModuleConnector.
Adde onInitEnd to ConsoleConnector and move Thread-Start there.