Used global variables specified per file, and strict in functions
Merge pull request #14 from michalc/master

Used global variables specified per file, and strict in functions