generate Friendship model and controller