A Novel Power Management And Control Design Framework For Resilient Operation Of Microgrids