Create Data Loading Function

Was sorely needed.