Added export structured data option

Also load dates & login credentials more logically in the new object,
remove setLanguage & Daterange subroutines