Add packet classes and serialise/deserialise for login