refactor into GithubAdapter class
refactor into HerokuAdapter class