add a message entity and use it in the client
class comment
suppress strange comment :/
use sprintf to format strings
reenforce type check on object constructor
constructor doesn't  return a value
switch unit and samplerate
correct default value for unit and samplerate
suppress overkill autocasting
sampleRate should be a float
test constructor whithout arg
Merge pull request #6 from omansour/feature/refactoring

add a message entity and use it in the client