cleanup: move repos stuff to repos, etc