LetterConfig updated to be used through mongodb