Wrote qdecoder explanation and first heartbeat.

Need to do the internals and other scripts, how to test them, and how to
put them into apache.