cleaning up Client code

* extracted BeetleConsumer to make the code structure easier to follow. less inline classes
* send only two messages in simple example
* removed some ununsed code