Use MongoDB for studies; probably still very faulty but a good start