pull everything out of single global file into logical pieces