For the first time in decades, a new class of painkiller has been approved by the US Food and Drug Administration (FDA).