There is no book that does what you desire. You just have to know some basic facts and go from there.
1. In O gauge, there are primarily two major command control competitors, Lionel & MTH. Williams (now Williams by Bachman) offers engines with sound, but no command control. Another option growing in the wings of this subject is Battery Powered Remote Control, but that still requires command and/or sound boards from one of the major players.
2. In the Lionel branch of competition, the history is essentially TMCC followed by Legacy. Lionel allowed 3rd parties (Atlas and 3rd Rail are best example) to use its TMCC version, and this led to the creation of ERR (a parts and boards supplier) which is now owned and operated by 3rd Rail. TMCC, as the older version, has fewer command features but is still readily usable. Legacy, the newer version, has more command features, but to this point, Lionel has kept it proprietary. Most of the parts to upgrade any engine to Legacy are sold by Lionel, but not every engine conversion is easy.
3. In the MTH branch, the history is PS1, PS2 and now PS3. PS stands for Proto-Sound, and each higher number stands for better features and reliability. MTH, when available, sells PS3 upgrade kits, but again, not every engine is easily converted.
Several experts on this forum have "figured out" a lot of the electronic details of how these systems work and are usually willing to help you with questions as long as you provide them with enough info like full description of engine (including mfg. part number) along with an explanation of what you are trying to do or what you don't understand. However, before asking questions, I highly recommend searching this forum because there is a good possibility your questions have already been answered in excruciating detail.
Chuck