added template schema & model for data collection.