Added document on registers and packet format.