Started refactoring gigs fetching in to factory function