repo cleanup, python 3 compatibility, docs stubs for the new modules