Removed surplus ping and error messages. Thinking about further simplifications by removing the message classes and using just dicts.
Added skeleton for integration tests.