Removed global variables
Merge pull request #1 from ezhikov/global-scope

Removed global variables