created basic message types and encoding/decoding functionality