moving out constants to settings file and consolidating output into just 2 csv files