commented code, added init for LanguageModel.py