added models and auto-gen for sections