Refactor image loading code to AssetsManager
0.5.0