Refactored urllib imports to support Python 3. fixes #1