re-organization of github methods

moved github authorization methods to their own module