Refactor Signature hold data, rather than message
Move signature to src/util
Sketch check_structure, refactor namespaces