Changed class importFiles to documentCollection

documentCollection now also holds the actual data, instead of just being
a bunch of function that import the data