Created all factories and UIManager.