Code cleanup, preserve functionality, adding decks.
Intermediate progress on invitation code.