Remove @synthesize and local function definitions
Replace unsigned char with int8_t
Example cleanup