Minor updates

Added some accessors
added bit masks for extracting packetIds and move flags