Python3 support, circular reference, PEP8 cleanup

Pick up latest fixes for PEP8.

Modification of import to relative explicit.

Circular import removal work.