How to make Universal remote For all using Bluetooth and arduino ?

I have a tried My TV remote to control using Bluetooth and mit app application based.

and this is working perfectly. but only valid for my pre-defined code as i have receive and transmit using arduino. this is simple application

but now i have a plan to control all remote like TV, SetupBox, AC and other infrared appliance like below sensy module

basically i have used arduino irRemote library. but i think this library is reliable for doing above task.

so please help me any one how can i start for make universal remote ?