Saving earthquakes and loading from database.