Add group and membership functionality to your Rails models