making the whole app respect mongo config in parameters.yml