separate class for language detector added