Move preloader to app init