Moved to new packet format

Implement final packet format.