//Here we define our possible states where the first argument is the name
//of this state, the second is the corresponding model to render this state,
//the third is true if the model should be editable in this state , and the fourth
//argument is the name of the HTML-Template in the Stream-Map to render the model.
HTMLState overviewState = new HTMLState("overview", homeModel, true, "overview");
HTMLState newPersonState = new HTMLState("newPerson", new PersonModel(), true, "newPerson");
HTMLState editPersonState = new HTMLState("editPerson", null, true, "editPerson");
//Here we return an array of possible transitions between the HTML-States
//where the first argument is the state we are at, the third argument is the state we
//go to and the second argument is the name of the event that takes us there.