Add bower_components and node_modules to gitignore
Relocate states module