Added scaffold creation and relationship insertion in model files