Dynamic Model Creation and Scripting Support in the Horizon Simulation Framework