Changed the Slave SPI case statement to receive and transmist SPI packets better. Modified payload handlers and parse/serialization source code to fix memcpy issue.