Added and completed sample code for invitations and payments. Made tabs use spaces with size of 2 spaces.