The schematic is simple - micro-controller, transistor driver, and an IR LED.
But it's the software that is difficult!, you first need to obtain the codes for thousands of different remotes, them devise a scheme to store them in very little memory - the actual transmission part is trivial (check my PIC tutorial on Sony IR remotes).