Add gitignore
Add a TODO in StateSwitch
Remove unused properties