Adding support for globals
Merge pull request #127 from abhijitkane/master

Adding support for globals