Move container factory and modules initialization to Bootstrap class.