Added a lot to mushroom.h, defined functions in dataloader.h