adding internal FlashMessage class