Implement model asset and fix bugs in asset manager