cleaning up demo, adding docs for language detection