creating a preloader to load models

w