generate friendship scaffold for managing following actions
setup to respond to json
replace class with global var
change root to friendships index