doc: Add main file and packet format.