Gets cause list from web and generate SQL to insert in the database