created DataLoader class