add support for imports from the web

tweaks to support importing using a URL instead of a directory path.