Added source text's language detection, improved design
Merge remote-tracking branch 'origin/master'