modify the way of loading resources,added loading screen