Some work on invitations. Not complete, but uploading to share for feedback.