setting last_run and last_end
moved run method to operation model
moving logic to model classes
fixed workflows api to be consistent with metaworlflows