Github auth module added

I added a Github auth module to import when the `GithubAuth` type is needed.

I also cleaned up some code.