You might also want to read up on the "Double Irish" and "Dutch Sandwich" approaches to dodging EU taxation. But if you're at work, searching those phrases without safe search might be a bit interesting... ;)
Ireland has a low corporation tax 12½%, to avail of that you need to incorporate an Irish company. This has nothing to do with Ireland's VAT rate (of about 21%)