Maven, Json, rehaul

refactored how the protocol works.
Message builders
JSON
using Maven