Added solar history extraction into a CSV file ready to be loaded in PostgreSQL