Changed name of callback functions, and fixed bugs in on recieve messgage (split packet)