Added batches model with its relations and validation