Added packet design. Still need more practise to determine the prototype in encrypt/decrypt