Added support for externs, resolves #6
Merge pull request #7 from Fidilip/6_Allow-usage-of-externs

Added support for externs, resolves #6