-- finished rough implementation of the AssestManager.
-- not a stable state