Added basic packet format and types