(refactoring) Rename GameAppSettings to AppSettings.
Add Machine class.
- The state machine in Model is moved to Machine.