changed direct state access to changing via events
.gitignore
ignoring autogenerated ignore file in core