A bunch of changes/additions, including simplifying mongoTemplate injection and configuration