Rewrite done, support for OAuth, repo lists and caching