Move all the SAA code out of nasmlib