mixes data file into main and removes global variable for shelter