Cleanup and addition of javadocs to packet handler source