Add mongodb check, update location of some stuff