added models and entity relation ships