Begin refactor to use mongo with mongoose.