added github api stuff