remove dead code
Some code structure
Show product id in decode info

Conflicts:
	decode.hs
Implement seralisation