Loading the Model

Added loading of the model to the workflow.
Added more targets.
Updated model SQL to one that has been generated with better trigger
logic.