placed github call in another file
refactor more