fix macro ns & missing core import in usage example
Merge pull request #3 from mva/for-upstream

fix macro ns & missing core import in usage example