Model-driven Simulation and Training Environments for Cybersecurity