Refactored github access into a few more classes