refactor githubDao to abstract out requests options, handling, config in
to restDao.