Controller holds the business logic and in our case that is very simple - appends the user name to a "hello" string.

package classes.MVCPart1
{
    public class Controller
    {
        public function showName(name:String):void
        {
            var model:Model = Model.getInstance();
            model.result +=  name;
        }
    }
}

Note, that we are using the Model as a singleton class and then updating the values in the "result"