Read this section to get a basic knowledge of Scala.
This schema is an example of a system with M3 receiver.