Minno, please send a PM with your email address and I'll send you a copy of what Truck sent me. It is a good place to start.
Gene, it may help a bit if I explain my concept for the bed. As shown in the attached sketch, I plan to build a "head board" of sorts and then extend two built-in "nightstands" for lack of a better term. Each nightstand will have a 110v duplex outlet with the GCFI protecting the rest of the circuit, a 12v outlet for charging cell phones while keeping them handy at night and a separate reading light along with providing for some modest storage room for things one might need at the end or beginning of the day such as contact cases, glasses, reading glasses, bourbon, etc.