added 2 functions in dataloader, and documented pageloader