- State is now a standalone class, gstate is the system state manager.
- Added state class ideas.
- Created gstate system in main.