Fixed issues with file exporting.
Added templates files.
Added script for inserting default document export info records.