Design of base components + Clock

* Code improvement
* Clock implementation
* Tests
* License headers
case class ClockMessage(topic: String) extends Message