Added support for callback to load imports
Merge pull request #35 from hason/callback

Added support for callback to load imports