fix factory that identifies all asset managers.
option to register the asset factory for global functions.
pass required arguments to command constructors.