METROPOLIS: A modular architecture for dynamic traffic simulation