added basic github api stuff