Use relative imports, fix Python 3