refactor loadout into loadoutmessage
refactor handshakemessage