Added MM.models.TextEntry subclass + code styling