The Main class

The Main class in Hello World creates and controls the actors. Notice the use of an ActorSystem as a container and the actorOf method to create the Actors. Finally, the class creates the messages to send to the Actors.