Doing the last part for: Automatically starting all modules in their
correct order - TRUNK-4438(cherry picked from commit 515a4ef61e13ed1f3ddc8f602f3e5b111b320511)