add bgmanager and bgrenderer