added more mongo; added trainer; vectorized sections properly