Modified globals.h

New data types and better comments, description of packet configuration