Use the GitHub API throughout. Refactor and more efficiently get all files and a list of all files for a repo.