added relationship model and relationship spec