Updated Code to run 1.7

Changed the code so 1.7 mod compiles. Several issues exist though. Added new way to send/receive packets, which the  other APIs for skill and player use