Made some optimisations to many classes

LoginThread is now the player thread which has 2 child threads inside
for processing incoming and outgoing packets.

Created world class for future reference and added instance of world
into the gameserver update function to process the world.

Other updates are for functionality and optimizations.