clean up the GithubAPI spec and class