Add .gitignore for WebStorm
Removed globals, changed test to accommodate.
Changed over more references