Refactored config, language, added support for language parameters