Restructure repo to avoid clashes with python built-in modules. Refactor imports.