Moved fetcher functions into libraries file