hasOne

moved relations to own file