Configure Spring to preload application