Fixed bug where I wasn't parseing ACK packets properly, also restructured some code