Class for fetching data