Add some code and document struct.
Add base edit features. Start with generation and player code.
More fixes for editor. Add player.