Split generation of newtype based Message data type to separate
function
Typo
Refactor
Mode code around
Add option to generate messages as plain haskell records

partiallyimplemented
Add ability to derive message as haskell records