Moved asset related logic into custom AssetManager class