Starting to implement message sending and receiving; changed to portable data types (uint8_t)