Added friendship controller, based on http://keighl.com/post/amistad-friendships-controller