move create_repos specific method into that class