Major General Anderson appointed first national security advisor