Added basic protocol implementation

Added basic protocol implementation to be processed by the maven plugin
and produce the matching classes.