refactor github api interaction into module