Added Parse function to handle spliting up messages.