Separate preloading functionality into a new file
Reorganize different parts of the Preloader