Added bulk indexing to greatly speed up course indexing, though Mongo reads are still slow.
Search back to functional, basis for refactoring is done