Moved over the packet handler, gave it some shiny Javadocs.