Added packethandler and new gui