Make the base 1-N relations with some models.

I hope we have code review together.