Revert "move github stuff into providers"

This reverts commit 346744c040440d52ecfdff81045f75f29b551a52.
big big refactor