Added html layout and stylesheet
Added static version of newMessage function
Store newMessage in array messages