Changed the asset manager to a singleton.