complete the JSF message tutorial basic structure. will add properties
switch functions next time