Added default language, improved storage using some functions.