Added classes for packets and set up more code for handling multi packet response.