pep8: reorder and clean up imports
pep8: explicit relative imports
pep8: indent code 4 spaces