Updated .gitignore to exclude webstorm files.
more refactoring.