add belongs_to, has_many and has_one_through