added belongsTo relationship
added hasMany relationship