Use external paths for imports.

This commit modifies the import paths to externally accessible paths.
Fixes #1.