Removes all globals (except those in vendor lib)
Merge pull request #3 from jeremykendall/fix/death-to-globals

Removes all globals (except for vendor lib)